<template>
	<div>
        <m-header></m-header>
	</div>

</template>

<script>
    import Header from "../../../real-components/myHeader";
    import {mapGetters} from "vuex";
    import {getPageTree, initDomTree} from "../../../utils/getPageTree";
    /*import {mapGetters} from "vuex";
    import {getPageTree, initDomTree} from "../../../utils/getPageTree";
    import axios from "axios";*/
    export default {
        // name: 'hello',
        data() {
            return {
                //  page: "my",
            }
            /*return {
			msg: '这是确认商品信息的页面',
            page: "confirmgoodsinfo",
            componentName: "confirmgoodsinfoitem",
            dataList: []
		}*/
        },
        computed: {
            ...mapGetters([
                "getDomTree"
            ]),
            pageTree() {
                return getPageTree(this, this.page);
            }
        },
        components: {
            "m-header": Header,
        },
        methods: {
            /*getData() {
                let options = {
                    url: "http://goods.scn.weilian.cn/goodsRestApi/queryGoodsList?enterpriseid=55&goodsid=104418,104343",
                    method: "get"
                }
                axios(options).then(data => {
                    console.log(data);
                    this.dataList = data.data.data;
                });

            }*/
        },
        created() {
            // this.getData();
        },
        mounted() {
            // initDomTree(this.getDomTree[this.page]);

        },
        updated() {
            //页面更新完毕
            // initDomTree(this.getDomTree[this.page]);
        }
    }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
    .box {
        /* display: flex; */
    }

    .style-components {
        display: flex;
        flex-flow: column nowrap;
    }

    .container {
        width: 800px;
        height: 300px;
        border: 1px solid red;
    }
</style>